package com.xoa.service.knowledge;

import com.xoa.model.knowledge.KnowledgeDocfile;
import com.xoa.util.LimsJson;
import javax.servlet.http.HttpServletRequest;

public interface FileManageService {

    LimsJson updateBySelective(KnowledgeDocfile record);

    LimsJson selectByDocfileId(Integer docfileId);

    // 通过栏目类型id串获取文档
    LimsJson getFiles(String columnIds, Integer page, Integer limit);

    // 批量删除文档
    LimsJson deleteFile(String columnIds);

    // 新增文档
    LimsJson insertFile(HttpServletRequest request, KnowledgeDocfile knowledgeDocfile);

    LimsJson serchFile(HttpServletRequest request, KnowledgeDocfile knowledgeDocfile,Integer page,Integer limit);

    LimsJson generStr(HttpServletRequest request);
}